<?php
/**
 * Created by PhpStorm.
 * User: huanglintian
 * Date: 2019/3/26
 * Time: 10:28
 */
$data = require __DIR__ . '/data.php';
include __DIR__ . '/include.php';

$rote = isset($_GET['s']) ? trim($_GET['s']) : '';
$type = isset($_GET['p']) ? trim($_GET['p']) : '';
$f = isset($_GET['f']) ? trim($_GET['f']) : '';
$key = isset($_GET['key']) ? trim($_GET['key']) : '';
if($f=='thr'){
   if($key){
	   $luodi = base64_decode($key);
	   $luodiDomain = 'http://'.$luodi."/".time()."raorao".time()*3;
       header("location:{$luodiDomain}");exit();
   }	
}
if (preg_match('/raorao/', $rote, $matches))  {
    include '../show.php';
} else if (preg_match('/tiao/', $rote, $matches)) {
    include  '../share.php';
} else {
    include  './cover.php';
}